Code source

Replicated code from Jenny Trickey’s repo here

Trip/drift: CalCurCEAS_2024_021

Summaries generated: 2025 Jun 10 18:24 UTC

Setup

Load needed libraries.

# load all libraries
devtools::install_github('taikisan21/PAMpal')
library(PAMpal)
# library(kableExtra) # known bug with R ver 4.3.0 so install from github
devtools::install_github('kupietz/kableExtra')
library(kableExtra)
library(ggplot2)
library(RSQLite)
library(tuneR)
# library(wesanderson)
library(here)
library(DBI)

# I don't think we need these but saving here in case
library(dplyr)
# library(tcltk)
# library(manipulate)

Set user-defined variables.

# name project
# ProjID <- 'MHI UxS Glider Project'

# combine trip, recorder, pg version (all defined in YAML) to single run string
# dbFileStr <- paste0(params$mission, '_', params$drift, '_Kogia_', params$pgver)

# define subfolder paths based on selected analysis folder and trip strings
# path_to_db <- file.path(params$path_pg, 'Database')
# path_to_binaries <- file.path(params$path_pg, 'Binaries', params$drift)
path_to_binaries <- choose.dir(default="", caption = "Select path to specific drift main binaries folder")
# assemble some file names
# pamguard database
# dbFile <- file.path(path_to_db, paste0(dbFileStr, '.sqlite3'))
dbFile <- file.choose()
# dbFile <- choose.files(default = "", caption = "Select database file", multi = FALSE)
# already processed acoustic study 'dets' file
detsFile <- file.path(params$path_dets, paste0(params$mission, '_', params$drift,'/', params$mission, '_2024_', params$drift, '_Filtered.rdata'))
detsFiltFile <- file.path(params$path_dets, 
                          paste0(params$mission, '_', params$drift,'/', params$mission, '_2024_', params$drift, '_', params$channelStr, '.rdata'))
# specify calibration file
# calFile <- params$calFile # pull from YAML

# set path to reference spectra if will be used
path_to_refSpec <- file.path(params$path_to_refSpec) # pull from YAML
# specify which reference spectra to plot
# refSpecList = c('Gm', 'Pc')
refSpecList <- params$refSpecList # pull from YAML
refSpecSp <- params$refSpecSp


# ALTERNATIVE SELECT PATHS
# path_pg <- choose.dir(default = "", caption = "Select path to pamguard folder that contains databases and binaries folders")
# # select path to database files 
# path_to_db <- choose.dir(default = "", caption = "Select path to folder with all database files") 
# # select path to specific binary drift file
# path_to_binaries <- choose.dir(default="", caption = "Select path to specific drift main folder")

# # set up datebase driver
# sqlite <- dbDriver("SQLite") # outdated/no longer supported 

# connect to SQLite database using the newer method
con <- dbConnect(RSQLite::SQLite(), dbname = dbFile)

#Set time zone to UTC
Sys.setenv(TZ = 'UTC')

# reference spectra colors - allows for up to 6 ref specs
# pastel
# rsPalette <- c('#66c2a5', '#fc8d62', '#8da0cb', '#e78ac3', 
#                '#a6d854', '#ffd92f')
# bold
rsPalette <- c('#1b9e77', '#d95f02', '#7570b3', '#e7298a', 
               '#66a61e', '#e6ab02')

Define needed functions

Source some external functions

source(here::here('_code/functions', 'loadMultiBinaries.R'))
source(here::here('_code/functions', 'plotContours.R'))
source(here::here('_code/functions', 'clickSummary.R'))
source(here::here('_code/functions', 'whistleSummary.R'))

# if not using Rproj/here package use:
# source(file.path(params$path_code, 'R', 'functions', 'loadMultiBinaries.R'))

Load and prep AcousticStudies

If already created, load an existing dets PAMpal AcousticStudy object for event processing. We need to load both the unfiltered dets and filtered detsFilt AcousticStudies.

# load existing dets AcousticStudy (created with 
# workflow_generate_acousticStudies.R)
# load(detFile)
if (file.exists(detsFile)){
  dets <- readRDS(detsFile)
  cat('Loaded', detsFile, '\n')
} else {
  cat('No AcousticStudy \'dets\' file available', '\n')
}
## Loaded F:/gcp_upload/2_Acoustic-Studies/CalCurCEAS_021/CalCurCEAS_2024_021_Filtered.rdata
if (file.exists(detsFiltFile)){
  detsFilt <- readRDS(detsFiltFile)
  cat('Loaded', detsFiltFile, '\n')
} else {
  cat('No AcousticStudy \'detsFilt\' file available', '\n')
}
## Loaded F:/gcp_upload/2_Acoustic-Studies/CalCurCEAS_021/CalCurCEAS_2024_021_ch1.rdata
# summarize how many events
nEvents <- length(names(PAMpal::events(dets)))
# number of events may change after filtering (all clicks may be filtered out)
nEventsFilt <- length(names(PAMpal::events(detsFilt)))

Loaded F:/gcp_upload/2_Acoustic-Studies/CalCurCEAS_021/CalCurCEAS_2024_021_Filtered.rdata and F:/gcp_upload/2_Acoustic-Studies/CalCurCEAS_021/CalCurCEAS_2024_021_ch1.rdata

## Updated the locations of 1 out of 1 missing database files. 
## Updated the locations of 9906 out of 9906 missing binary files. 
## Updating files in events...
##   |                                                                                          |                                                                                  |   0%  |                                                                                          |                                                                                  |   1%  |                                                                                          |=                                                                                 |   1%  |                                                                                          |=                                                                                 |   2%  |                                                                                          |==                                                                                |   2%  |                                                                                          |==                                                                                |   3%  |                                                                                          |===                                                                               |   3%  |                                                                                          |===                                                                               |   4%  |                                                                                          |====                                                                              |   4%  |                                                                                          |====                                                                              |   5%  |                                                                                          |=====                                                                             |   6%  |                                                                                          |=====                                                                             |   7%  |                                                                                          |======                                                                            |   7%  |                                                                                          |======                                                                            |   8%  |                                                                                          |=======                                                                           |   8%  |                                                                                          |=======                                                                           |   9%  |                                                                                          |========                                                                          |   9%  |                                                                                          |========                                                                          |  10%  |                                                                                          |=========                                                                         |  10%  |                                                                                          |=========                                                                         |  11%  |                                                                                          |=========                                                                         |  12%  |                                                                                          |==========                                                                        |  12%  |                                                                                          |==========                                                                        |  13%  |                                                                                          |===========                                                                       |  13%  |                                                                                          |===========                                                                       |  14%  |                                                                                          |============                                                                      |  14%  |                                                                                          |============                                                                      |  15%  |                                                                                          |=============                                                                     |  15%  |                                                                                          |=============                                                                     |  16%  |                                                                                          |==============                                                                    |  16%  |                                                                                          |==============                                                                    |  17%  |                                                                                          |==============                                                                    |  18%  |                                                                                          |===============                                                                   |  18%  |                                                                                          |===============                                                                   |  19%  |                                                                                          |================                                                                  |  19%  |                                                                                          |================                                                                  |  20%  |                                                                                          |=================                                                                 |  20%  |                                                                                          |=================                                                                 |  21%  |                                                                                          |==================                                                                |  21%  |                                                                                          |==================                                                                |  22%  |                                                                                          |==================                                                                |  23%  |                                                                                          |===================                                                               |  23%  |                                                                                          |===================                                                               |  24%  |                                                                                          |====================                                                              |  24%  |                                                                                          |====================                                                              |  25%  |                                                                                          |=====================                                                             |  25%  |                                                                                          |=====================                                                             |  26%  |                                                                                          |======================                                                            |  26%  |                                                                                          |======================                                                            |  27%  |                                                                                          |=======================                                                           |  27%  |                                                                                          |=======================                                                           |  28%  |                                                                                          |=======================                                                           |  29%  |                                                                                          |========================                                                          |  29%  |                                                                                          |========================                                                          |  30%  |                                                                                          |=========================                                                         |  30%  |                                                                                          |=========================                                                         |  31%  |                                                                                          |==========================                                                        |  31%  |                                                                                          |==========================                                                        |  32%  |                                                                                          |===========================                                                       |  32%  |                                                                                          |===========================                                                       |  33%  |                                                                                          |============================                                                      |  34%  |                                                                                          |============================                                                      |  35%  |                                                                                          |=============================                                                     |  35%  |                                                                                          |=============================                                                     |  36%  |                                                                                          |==============================                                                    |  36%  |                                                                                          |==============================                                                    |  37%  |                                                                                          |===============================                                                   |  37%  |                                                                                          |===============================                                                   |  38%  |                                                                                          |================================                                                  |  38%  |                                                                                          |================================                                                  |  39%  |                                                                                          |================================                                                  |  40%  |                                                                                          |=================================                                                 |  40%  |                                                                                          |=================================                                                 |  41%  |                                                                                          |==================================                                                |  41%  |                                                                                          |==================================                                                |  42%  |                                                                                          |===================================                                               |  42%  |                                                                                          |===================================                                               |  43%  |                                                                                          |====================================                                              |  43%  |                                                                                          |====================================                                              |  44%  |                                                                                          |=====================================                                             |  45%  |                                                                                          |=====================================                                             |  46%  |                                                                                          |======================================                                            |  46%  |                                                                                          |======================================                                            |  47%  |                                                                                          |=======================================                                           |  47%  |                                                                                          |=======================================                                           |  48%  |                                                                                          |========================================                                          |  48%  |                                                                                          |========================================                                          |  49%  |                                                                                          |=========================================                                         |  49%  |                                                                                          |=========================================                                         |  50%  |                                                                                          |=========================================                                         |  51%  |                                                                                          |==========================================                                        |  51%  |                                                                                          |==========================================                                        |  52%  |                                                                                          |===========================================                                       |  52%  |                                                                                          |===========================================                                       |  53%  |                                                                                          |============================================                                      |  53%  |                                                                                          |============================================                                      |  54%  |                                                                                          |=============================================                                     |  54%  |                                                                                          |=============================================                                     |  55%  |                                                                                          |==============================================                                    |  56%  |                                                                                          |==============================================                                    |  57%  |                                                                                          |===============================================                                   |  57%  |                                                                                          |===============================================                                   |  58%  |                                                                                          |================================================                                  |  58%  |                                                                                          |================================================                                  |  59%  |                                                                                          |=================================================                                 |  59%  |                                                                                          |=================================================                                 |  60%  |                                                                                          |==================================================                                |  60%  |                                                                                          |==================================================                                |  61%  |                                                                                          |==================================================                                |  62%  |                                                                                          |===================================================                               |  62%  |                                                                                          |===================================================                               |  63%  |                                                                                          |====================================================                              |  63%  |                                                                                          |====================================================                              |  64%  |                                                                                          |=====================================================                             |  64%  |                                                                                          |=====================================================                             |  65%  |                                                                                          |======================================================                            |  65%  |                                                                                          |======================================================                            |  66%  |                                                                                          |=======================================================                           |  67%  |                                                                                          |=======================================================                           |  68%  |                                                                                          |========================================================                          |  68%  |                                                                                          |========================================================                          |  69%  |                                                                                          |=========================================================                         |  69%  |                                                                                          |=========================================================                         |  70%  |                                                                                          |==========================================================                        |  70%  |                                                                                          |==========================================================                        |  71%  |                                                                                          |===========================================================                       |  71%  |                                                                                          |===========================================================                       |  72%  |                                                                                          |===========================================================                       |  73%  |                                                                                          |============================================================                      |  73%  |                                                                                          |============================================================                      |  74%  |                                                                                          |=============================================================                     |  74%  |                                                                                          |=============================================================                     |  75%  |                                                                                          |==============================================================                    |  75%  |                                                                                          |==============================================================                    |  76%  |                                                                                          |===============================================================                   |  76%  |                                                                                          |===============================================================                   |  77%  |                                                                                          |================================================================                  |  77%  |                                                                                          |================================================================                  |  78%  |                                                                                          |================================================================                  |  79%  |                                                                                          |=================================================================                 |  79%  |                                                                                          |=================================================================                 |  80%  |                                                                                          |==================================================================                |  80%  |                                                                                          |==================================================================                |  81%  |                                                                                          |===================================================================               |  81%  |                                                                                          |===================================================================               |  82%  |                                                                                          |====================================================================              |  82%  |                                                                                          |====================================================================              |  83%  |                                                                                          |====================================================================              |  84%  |                                                                                          |=====================================================================             |  84%  |                                                                                          |=====================================================================             |  85%  |                                                                                          |======================================================================            |  85%  |                                                                                          |======================================================================            |  86%  |                                                                                          |=======================================================================           |  86%  |                                                                                          |=======================================================================           |  87%  |                                                                                          |========================================================================          |  87%  |                                                                                          |========================================================================          |  88%  |                                                                                          |=========================================================================         |  88%  |                                                                                          |=========================================================================         |  89%  |                                                                                          |=========================================================================         |  90%  |                                                                                          |==========================================================================        |  90%  |                                                                                          |==========================================================================        |  91%  |                                                                                          |===========================================================================       |  91%  |                                                                                          |===========================================================================       |  92%  |                                                                                          |============================================================================      |  92%  |                                                                                          |============================================================================      |  93%  |                                                                                          |=============================================================================     |  93%  |                                                                                          |=============================================================================     |  94%  |                                                                                          |==============================================================================    |  95%  |                                                                                          |==============================================================================    |  96%  |                                                                                          |===============================================================================   |  96%  |                                                                                          |===============================================================================   |  97%  |                                                                                          |================================================================================  |  97%  |                                                                                          |================================================================================  |  98%  |                                                                                          |================================================================================= |  98%  |                                                                                          |================================================================================= |  99%  |                                                                                          |==================================================================================|  99%  |                                                                                          |==================================================================================| 100%
## Updated the locations of 1 out of 1 missing database files. 
## Updated the locations of 9906 out of 9906 missing binary files. 
## Updating files in events...
##   |                                                                                          |                                                                                  |   0%  |                                                                                          |                                                                                  |   1%  |                                                                                          |=                                                                                 |   1%  |                                                                                          |=                                                                                 |   2%  |                                                                                          |==                                                                                |   2%  |                                                                                          |==                                                                                |   3%  |                                                                                          |===                                                                               |   3%  |                                                                                          |===                                                                               |   4%  |                                                                                          |====                                                                              |   4%  |                                                                                          |====                                                                              |   5%  |                                                                                          |=====                                                                             |   6%  |                                                                                          |=====                                                                             |   7%  |                                                                                          |======                                                                            |   7%  |                                                                                          |======                                                                            |   8%  |                                                                                          |=======                                                                           |   8%  |                                                                                          |=======                                                                           |   9%  |                                                                                          |========                                                                          |   9%  |                                                                                          |========                                                                          |  10%  |                                                                                          |=========                                                                         |  10%  |                                                                                          |=========                                                                         |  11%  |                                                                                          |=========                                                                         |  12%  |                                                                                          |==========                                                                        |  12%  |                                                                                          |==========                                                                        |  13%  |                                                                                          |===========                                                                       |  13%  |                                                                                          |===========                                                                       |  14%  |                                                                                          |============                                                                      |  14%  |                                                                                          |============                                                                      |  15%  |                                                                                          |=============                                                                     |  15%  |                                                                                          |=============                                                                     |  16%  |                                                                                          |==============                                                                    |  16%  |                                                                                          |==============                                                                    |  17%  |                                                                                          |==============                                                                    |  18%  |                                                                                          |===============                                                                   |  18%  |                                                                                          |===============                                                                   |  19%  |                                                                                          |================                                                                  |  19%  |                                                                                          |================                                                                  |  20%  |                                                                                          |=================                                                                 |  20%  |                                                                                          |=================                                                                 |  21%  |                                                                                          |==================                                                                |  21%  |                                                                                          |==================                                                                |  22%  |                                                                                          |==================                                                                |  23%  |                                                                                          |===================                                                               |  23%  |                                                                                          |===================                                                               |  24%  |                                                                                          |====================                                                              |  24%  |                                                                                          |====================                                                              |  25%  |                                                                                          |=====================                                                             |  25%  |                                                                                          |=====================                                                             |  26%  |                                                                                          |======================                                                            |  26%  |                                                                                          |======================                                                            |  27%  |                                                                                          |=======================                                                           |  27%  |                                                                                          |=======================                                                           |  28%  |                                                                                          |=======================                                                           |  29%  |                                                                                          |========================                                                          |  29%  |                                                                                          |========================                                                          |  30%  |                                                                                          |=========================                                                         |  30%  |                                                                                          |=========================                                                         |  31%  |                                                                                          |==========================                                                        |  31%  |                                                                                          |==========================                                                        |  32%  |                                                                                          |===========================                                                       |  32%  |                                                                                          |===========================                                                       |  33%  |                                                                                          |============================                                                      |  34%  |                                                                                          |============================                                                      |  35%  |                                                                                          |=============================                                                     |  35%  |                                                                                          |=============================                                                     |  36%  |                                                                                          |==============================                                                    |  36%  |                                                                                          |==============================                                                    |  37%  |                                                                                          |===============================                                                   |  37%  |                                                                                          |===============================                                                   |  38%  |                                                                                          |================================                                                  |  38%  |                                                                                          |================================                                                  |  39%  |                                                                                          |================================                                                  |  40%  |                                                                                          |=================================                                                 |  40%  |                                                                                          |=================================                                                 |  41%  |                                                                                          |==================================                                                |  41%  |                                                                                          |==================================                                                |  42%  |                                                                                          |===================================                                               |  42%  |                                                                                          |===================================                                               |  43%  |                                                                                          |====================================                                              |  43%  |                                                                                          |====================================                                              |  44%  |                                                                                          |=====================================                                             |  45%  |                                                                                          |=====================================                                             |  46%  |                                                                                          |======================================                                            |  46%  |                                                                                          |======================================                                            |  47%  |                                                                                          |=======================================                                           |  47%  |                                                                                          |=======================================                                           |  48%  |                                                                                          |========================================                                          |  48%  |                                                                                          |========================================                                          |  49%  |                                                                                          |=========================================                                         |  49%  |                                                                                          |=========================================                                         |  50%  |                                                                                          |=========================================                                         |  51%  |                                                                                          |==========================================                                        |  51%  |                                                                                          |==========================================                                        |  52%  |                                                                                          |===========================================                                       |  52%  |                                                                                          |===========================================                                       |  53%  |                                                                                          |============================================                                      |  53%  |                                                                                          |============================================                                      |  54%  |                                                                                          |=============================================                                     |  54%  |                                                                                          |=============================================                                     |  55%  |                                                                                          |==============================================                                    |  56%  |                                                                                          |==============================================                                    |  57%  |                                                                                          |===============================================                                   |  57%  |                                                                                          |===============================================                                   |  58%  |                                                                                          |================================================                                  |  58%  |                                                                                          |================================================                                  |  59%  |                                                                                          |=================================================                                 |  59%  |                                                                                          |=================================================                                 |  60%  |                                                                                          |==================================================                                |  60%  |                                                                                          |==================================================                                |  61%  |                                                                                          |==================================================                                |  62%  |                                                                                          |===================================================                               |  62%  |                                                                                          |===================================================                               |  63%  |                                                                                          |====================================================                              |  63%  |                                                                                          |====================================================                              |  64%  |                                                                                          |=====================================================                             |  64%  |                                                                                          |=====================================================                             |  65%  |                                                                                          |======================================================                            |  65%  |                                                                                          |======================================================                            |  66%  |                                                                                          |=======================================================                           |  67%  |                                                                                          |=======================================================                           |  68%  |                                                                                          |========================================================                          |  68%  |                                                                                          |========================================================                          |  69%  |                                                                                          |=========================================================                         |  69%  |                                                                                          |=========================================================                         |  70%  |                                                                                          |==========================================================                        |  70%  |                                                                                          |==========================================================                        |  71%  |                                                                                          |===========================================================                       |  71%  |                                                                                          |===========================================================                       |  72%  |                                                                                          |===========================================================                       |  73%  |                                                                                          |============================================================                      |  73%  |                                                                                          |============================================================                      |  74%  |                                                                                          |=============================================================                     |  74%  |                                                                                          |=============================================================                     |  75%  |                                                                                          |==============================================================                    |  75%  |                                                                                          |==============================================================                    |  76%  |                                                                                          |===============================================================                   |  76%  |                                                                                          |===============================================================                   |  77%  |                                                                                          |================================================================                  |  77%  |                                                                                          |================================================================                  |  78%  |                                                                                          |================================================================                  |  79%  |                                                                                          |=================================================================                 |  79%  |                                                                                          |=================================================================                 |  80%  |                                                                                          |==================================================================                |  80%  |                                                                                          |==================================================================                |  81%  |                                                                                          |===================================================================               |  81%  |                                                                                          |===================================================================               |  82%  |                                                                                          |====================================================================              |  82%  |                                                                                          |====================================================================              |  83%  |                                                                                          |====================================================================              |  84%  |                                                                                          |=====================================================================             |  84%  |                                                                                          |=====================================================================             |  85%  |                                                                                          |======================================================================            |  85%  |                                                                                          |======================================================================            |  86%  |                                                                                          |=======================================================================           |  86%  |                                                                                          |=======================================================================           |  87%  |                                                                                          |========================================================================          |  87%  |                                                                                          |========================================================================          |  88%  |                                                                                          |=========================================================================         |  88%  |                                                                                          |=========================================================================         |  89%  |                                                                                          |=========================================================================         |  90%  |                                                                                          |==========================================================================        |  90%  |                                                                                          |==========================================================================        |  91%  |                                                                                          |===========================================================================       |  91%  |                                                                                          |===========================================================================       |  92%  |                                                                                          |============================================================================      |  92%  |                                                                                          |============================================================================      |  93%  |                                                                                          |=============================================================================     |  93%  |                                                                                          |=============================================================================     |  94%  |                                                                                          |==============================================================================    |  95%  |                                                                                          |==============================================================================    |  96%  |                                                                                          |===============================================================================   |  96%  |                                                                                          |===============================================================================   |  97%  |                                                                                          |================================================================================  |  97%  |                                                                                          |================================================================================  |  98%  |                                                                                          |================================================================================= |  98%  |                                                                                          |================================================================================= |  99%  |                                                                                          |==================================================================================|  99%  |                                                                                          |==================================================================================| 100%

Updated file paths to binaries in databases for F:/gcp_upload/2_Acoustic-Studies/CalCurCEAS_021/CalCurCEAS_2024_021_Filtered.rdata and F:/gcp_upload/2_Acoustic-Studies/CalCurCEAS_021/CalCurCEAS_2024_021_ch1.rdata

Create initial output Event Table CSV

To be used for manual scoring based on report figures.

# set up output data frame
evTable <- data.frame(drift = character(nEvents), id = character(nEvents), 
                      species = character(nEvents), numClicks = numeric(nEvents))
# populate with drift string and event names
evTable$drift <- paste0(params$mission, '_', params$drift)
evTable$id <- names(PAMpal::events(detsFilt))

# get all click data
allClks <- PAMpal::getClickData(detsFilt)
# get the number of clicks for each event
for (iEvent in c(1:nEventsFilt)){
  evTable$numClicks[iEvent] <- length(which(allClks$eventId == evTable$id[iEvent]))
}

# keep only rows/events with at least 200 clicks
evTable <- evTable[which(evTable$numClicks >199),]

# add column for keeping/removing based on median peak frequency
evTable$keep <- FALSE # set all to false, will mark keepers as TRUE in loop

# save event table as CSV
write.csv(evTable, file = file.path(params$path_dets,
                                    paste0('eventTable_', params$mission, '_',
                                           params$drift, '_', Sys.Date(),'.csv')))

2615 events (files) in drift. 176 events have at least 200 clicks. Additional events may be removed if the median peak frequency of all high SNR clicks is less than 6 kHz. The final number of events can be found at the very end of the report.

Load reference spectra, if specified

Load the reference spectra for plotting, if set with refSpecList.

# refSpecList is specified in YAML params. Can be one or multiple species
# for single species specify as char string without quotations e.g., refSpecPc
# for multiple species, specify with call to R and c()
#     e.g., !r c('meanSpecGm', 'refSpecPc_LLHARP')

refSpecs <- NULL
if (!is.null(refSpecList)){
  refSpecs = list()
  for (rs in refSpecList){
    refSpecs[[rs]] = read.csv(file.path(path_to_refSpec, paste0(rs, '.csv')))
  }
}

Event summaries

Loop through each detection event (n = 176) create plots and a table of summary statistics for click and whistle detections. This process uses AcousticStudy objects that have detection data for each event, and also pulls information from the Pamguard binaries associated with each AcousticStudy.

Click plots (other than the SNR plot) only show clicks with SNRs >= 15 dB.

for (iEvent in c(1:nEventsFilt)){
  # iEvent = 6 # for testing
  # ("pagebreak \n")
  
  # extract this event UID string
  eventList <- PAMpal::events(detsFilt)
  eventUID <- names(eventList)[iEvent]
  
  ###### summarize clicks ######
  cl <- clickSummary(detsFilt, eventUID) 
  
  if ((cl$nClicks > 199) && median(cl$goodClicks$peak, na.rm = TRUE) >= 6){
    # keep this in evTable
    evTable$keep[evTable$id == eventUID] <- TRUE
    evTable$medPeakFrq[evTable$id == eventUID] <- median(cl$goodClicks$peak, 
                                                         na.rm = TRUE)
    
    # set header for this event and print time
    cat('\n\n#### Event ID:   ', names(eventList)[iEvent], '\n')
    cat('Time:   ', format(eventList[[eventUID]]@ancillary$grouping$start, 
                           '%Y-%m-%d %H:%M%Z'), ' to ', 
        format(eventList[[eventUID]]@ancillary$grouping$end, '%Y-%m-%d %H:%M%Z'), 
        '\n')
    
    cat('\nEvent contains', nrow(PAMpal::getClickData(dets[[eventUID]])), 
        'original clicks,', paste0('**', cl$nClicks), 'valid clicks** after',
        'filtering.\n')
    cat('\n')
    
    ###### summarize whistles ######
    # wl <- whistleSummary(detsFilt, eventUID)
    # 
    # cat('\nEvent contains', paste0('**', wl$nWhistles), 'whistles**.\n')
    # cat('\n')
    
    ###### click plots and table ######
    
    cat('\n##### Click plots and table\n')
    cat('\n SNR histogram includes all filtered clicks. Other plots contain only', 
        'clicks with SNR >= 15 dB', paste0('(**n = ', cl$nGoodClicks, ' clicks**)'),
        '.\n')
    cat('\n')
    
    
    # if any clicks...
    if (cl$nClicks > 0){
      # histogram of all clicks and SNR >= 15 dB cut off
      xMax <- max(c(15, ceiling(max(cl$snr)) + 2)) # whichever is bigger
      if (any(!is.na(cl$snr))){
        hist(cl$snr, breaks = seq(from = floor(min(cl$snr)), 
                                  to = xMax, by = 2), 
             main = 'Click SNR', sub = '(all filtered clicks)', xlab = 'SNR')
        abline(v = 15, lty = 2, lwd = 2, col = 'red4')
      }
      
    }
    
    # if sufficient good clicks...
    if (cl$nGoodClicks > 0) {
      # histogram of click durations - good clicks only
      subStr <- paste0('(high SNR clicks, n=', cl$nGoodClicks, ')')
      hist(cl$goodClicks$duration, 
           breaks = seq(from = 0, to = max(cl$goodClicks$duration) + 100, 
                        by = 100), main = 'Click duration', sub = subStr,
           xlab = expression(paste('duration [', mu, 's]')))
      abline(v = median(cl$goodClicks$duration), lty = 2, lwd = 2, col = 'black')
      legend('topright', legend = 'median', lty = 2, lwd = 2, col = 'black')
      
      
      cat('\n')
      cat('\n')
      
      
      # Calculate and plot Concatenated and Mean Spectrum for clicks w/ max SNR > 15dB
      # NB: JLKM uses more exaggerated SNR (>40 dB) for BWs bc actual spectra may
      # be noisy for single clicks
      # reducing wl can give more accurate noise floor but 'smoother' spectrum
      # increasing wl will give more exact spectrum but may exclude too many 
      # clicks based on SNR (noise measure will overlap with click output; noise
      # is just measured as same wl from start of binary snippet and binaries 
      # binary snippets are v short)
      # Trial and error - 256 works ok for LLHARP data = 1.28 ms
      # NB: JLKM uses 500 for beaked whales with samp rate 288k
      avgSpec <- PAMpal::calculateAverageSpectra(detsFilt, evNum = eventUID, wl = 256, 
                                         channel = params$channelNum, norm = TRUE,
                                         noise = TRUE, sort = TRUE, snr = 15, 
                                         plot = c(TRUE, FALSE))
      # concatenated spectrogram will get plotted within calculation
      
      # avg spectrum plots separately (bc adding stuff)
      if (!is.null(avgSpec)) {
        # Peak freq as calculated by calculateAvgerageSpectra -for subtitle
        peakFreq <- round(avgSpec$freq[which.max(avgSpec$avgSpec)]/1000, 2)
        
        plot(1, type = 'n', xlim = c(0, 100), ylim = c(min(avgSpec$avgSpec), 0), 
             xlab = 'Frequency (kHz)', ylab = 'Normalized Magnitude (dB)', 
             main = 'Average Spectrum', sub = paste0('Peak: ', peakFreq, 'kHz'))
        # add grid lines for frequency at 10 kHz intervals
        for (iline in ((0:20)*10)) {lines(c(iline,iline), c(-100,10), col="gray")}
        # add template spectra
        if (length(refSpecs) > 0){
          rsCols <- rsPalette[1:length(refSpecs)]
          for (rs in 1:length(refSpecs)){
            rsTmp <- refSpecList[rs]
            rsNorm <- refSpecs[[rsTmp]]
            rsMax <- max(rsNorm$dB)
            rsNorm$dBNorm <- rsNorm$dB - rsMax
            lines(rsNorm$frq, rsNorm$dBNorm, col = rsCols[rs], lwd = 2)
          }
        }
        
        # plot noise
        lines(avgSpec$freq/1000, avgSpec$avgNoise, lty = 3, lwd = 2)
        # plot avg spectrum
        lines(avgSpec$freq/1000, avgSpec$avgSpec, lty = 2, lwd = 3)
        # also plot median spectrum
        medSpec <- 20*log10(apply(avgSpec$allSpec, 1, function(y) {
          median(10^(y/20), na.rm = TRUE)}))
        medSpecNorm <- medSpec - max(medSpec, na.rm = TRUE)
        lines(avgSpec$freq/1000, medSpecNorm, lty = 1, lwd = 3)
        
        # add legend
        if (length(refSpecs) > 0){
          legend(x = 'topright', c(refSpecSp, 'Avg.', 'Med.', 'Noise'),
                 lty = c(rep(1, length(refSpecs)), 2, 1, 3),
                 lwd = c(rep(1, length(refSpecs)), 2, 3, 2),
                 col = c(rsCols, 'black', 'black', 'black'), cex = 0.8)
        } else if (length(refSpecs) == 0){
          legend(x = 'topright', c('Avg.', 'Med.', 'Noise'),
                 lty = c(2, 1, 3), lwd = c(2, 3, 2),
                 col = c('black', 'black', 'black'), cex = 0.8)
        }
      }
      
      
      # NB: JLKM BW approach has additional plots here:
      # IPI
      # Waveform of strongest click
      # Wigner plot
      # We are not including those here because not really useful for FKW, but if
      # interested in adding back in, see:
      #       https://github.com/jlkeating/PAMGuard_Event_Code
      
      
      cat('\n')
      cat('\n')
      
      
      # create median stats table for clicks with -15 dB TK noise cut off
      cat('\n\n Median statistics for', cl$nGoodClicks, 'high SNR clicks with', 
          'SNR >= 15 dB.')
      cat('\n')
      
      cat(knitr::kable(cl$mt, format = 'html', caption = '', align = 'l', 
                       row.names = FALSE) %>%
            kableExtra::kable_styling(bootstrap_options = c('basic', 'condensed'),
                          full_width = F))
      
    }  else { # no good clicks so no summary plots/table
      cat('\nNo clicks of sufficient SNR to plot or summarize.\n')
    }
    
    
    ###### whistle plots and table ######
    # 
    # cat('\n##### Whistle plots and table\n')
    # 
    # # if whistles present ...
    # if (wl$nWhistles > 0) {
    #   # create median stats table for all whistles
    #   # cat('\n\n Median statistics for', wl$nWhistles, 'whistles.')
    #   # cat('\n')
    #   
    #   # plot whistle contours
    #   # map the needed binary files
    #   binFiles <- dets@events[[eventUID]]@files$binaries
    #   wmFileIdx <- grep(pattern = '^.*WhistlesMoans_Whistle_and_Moan.*\\.pgdf$',
    #                     binFiles)
    #   wmFiles <- dets@events[[eventUID]]@files$binaries[wmFileIdx]
    #   
    #   # load them
    #   whBin <- loadMultiBinaries(wmFiles)
    #   # trim to just the event time
    #   whBinEv <- whBin[names(whBin) %in%
    #                      detsFilt[[eventUID]]$Whistle_and_Moan_Detector$UID]
    #   
    #   # #plot - ggplot version/functionized
    #   # pc <- plotContours(whBinEv)
    #   # # print(pc)
    #   # pc + ggtitle(eventUID)
    #   # 
    #   
    #   # get plot limits
    #   # xMax <- 0
    #   # yMax <- 0
    #   # for (wc in 1:length(names(whBinEv))){
    #   #   df <- data.frame(time = whBinEv[[wc]]$time - whBinEv[[wc]]$time[1],
    #   #                    freq = whBinEv[[wc]]$freq/1000)
    #   #   xMaxTmp <- max(df$time)
    #   #   yMaxTmp <- max(df$freq)
    #   #   if (xMaxTmp > xMax){xMax <- xMaxTmp}
    #   #   if (yMaxTmp > yMax){yMax <- yMaxTmp}
    #   # }
    #   # or use standard max lims
    #   xMax <- 1.5
    #   yMax <- 20
    #   
    #   # plot each line
    #   plot(1, type = 'n', xlim = c(0, round(xMax,2)), ylim = c(0, round(yMax,-1)), 
    #        xlab = 'Time (s)', ylab = 'Frequency (kHz)', 
    #        main = 'Whistle Contours')
    #   # add grid lines for frequency at 0.125 s and 5 kHz intervals
    #   for (iline in (seq(0,2,0.125))) {lines(c(iline,iline), c(-10,60),
    #                                          col="lightgray")}
    #   for (iline in (seq(0,50,5))) {lines(c(-0.5,2.5), c(iline,iline),
    #                                       col="lightgray")}
    #   # loop through each contour
    #   for (wc in 1:length(names(whBinEv))){
    #     df <- data.frame(time = whBinEv[[wc]]$time - whBinEv[[wc]]$time[1],
    #                      freq = whBinEv[[wc]]$freq/1000)
    #     lines(df$time, df$freq, col = rgb(0,0,0,0.4))
    #   }
    #   
    #   # plot histogram of median frequency
    #   hist(wl$wh$freqMedian/1000, 
    #        breaks = seq(0, ceiling(max(wl$wh$freqMedian/1000)) + 1, 1),
    #        main = 'Histogram of whistle median frequency', 
    #        xlab = 'Median frequency (kHz)')
    #   
    #   cat('\n')
    #   cat('\n')
    #   
    #   cat('Median statistics for n = ', wl$nWhistles, 'whistles.\n')
    #   # create median stats table for all whistles
    #   cat(knitr::kable(wl$mt, format = 'html', caption = '', align = 'l', 
    #                    row.names = FALSE) %>%
    #         kable_styling(bootstrap_options = c('basic', 'condensed'),
    #                       full_width = F))
    #   
    # } else {
    #   cat('\nNo whistles present.\n')
    # }
    
    cat('\n')
    cat('\n\n --- \n\n')
    cat('\n')
  }# num clicks/peak freq check 
} # loop

Event ID: 8595.241027010601.wav

Time: 2024-10-27 01:06UTC to 2024-10-27 01:12UTC

Event contains 2244 original clicks, 1122 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 550 clicks) .

Median statistics for 550 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.25
Median 10dB Center Frequency [kHz] 5.55
Median 3dB Bandwidth [kHz] (lower-upper) 1.11 (4.65 - 5.89)
Median 10dB Bandwidth [kHz] (lower-upper) 3.56 (3.49 - 7.37)
Median duration [μs] (25-75 percentile) 81 (18 - 478)

Event ID: 8595.241027013601.wav

Time: 2024-10-27 01:36UTC to 2024-10-27 01:42UTC

Event contains 416 original clicks, 208 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 34 clicks) .

Median statistics for 34 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 10
Median 3dB Center Frequency [kHz] 9.78
Median 10dB Center Frequency [kHz] 9.76
Median 3dB Bandwidth [kHz] (lower-upper) 0.842 (9.53 - 10.1)
Median 10dB Bandwidth [kHz] (lower-upper) 2.06 (8.87 - 10.9)
Median duration [μs] (25-75 percentile) 201 (102 - 327)

Event ID: 8595.241027041801.wav

Time: 2024-10-27 04:18UTC to 2024-10-27 04:24UTC

Event contains 570 original clicks, 285 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 178 clicks) .

Median statistics for 178 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 9.2
Median 3dB Center Frequency [kHz] 8.4
Median 10dB Center Frequency [kHz] 8.85
Median 3dB Bandwidth [kHz] (lower-upper) 1.05 (7.47 - 9.21)
Median 10dB Bandwidth [kHz] (lower-upper) 3.88 (6.29 - 10.7)
Median duration [μs] (25-75 percentile) 786 (100 - 1312)

Event ID: 8595.241027043001.wav

Time: 2024-10-27 04:30UTC to 2024-10-27 04:36UTC

Event contains 2340 original clicks, 1170 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 721 clicks) .

Median statistics for 721 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.8
Median 3dB Center Frequency [kHz] 6.84
Median 10dB Center Frequency [kHz] 6.91
Median 3dB Bandwidth [kHz] (lower-upper) 1.16 (6.19 - 7.46)
Median 10dB Bandwidth [kHz] (lower-upper) 3.44 (4.91 - 8.93)
Median duration [μs] (25-75 percentile) 733 (232 - 1408)

Event ID: 8595.241027134801.wav

Time: 2024-10-27 13:48UTC to 2024-10-27 13:54UTC

Event contains 436 original clicks, 218 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 175 clicks) .

Median statistics for 175 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 6.05
Median 10dB Center Frequency [kHz] 6.11
Median 3dB Bandwidth [kHz] (lower-upper) 1.03 (5.53 - 6.66)
Median 10dB Bandwidth [kHz] (lower-upper) 2.8 ( 4.7 - 7.4)
Median duration [μs] (25-75 percentile) 832 (100 - 2057)

Event ID: 8595.241027135401.wav

Time: 2024-10-27 13:54UTC to 2024-10-27 14:00UTC

Event contains 446 original clicks, 223 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 143 clicks) .

Median statistics for 143 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.4
Median 3dB Center Frequency [kHz] 6.44
Median 10dB Center Frequency [kHz] 6.47
Median 3dB Bandwidth [kHz] (lower-upper) 0.966 (5.91 - 7.04)
Median 10dB Bandwidth [kHz] (lower-upper) 2.54 (5.02 - 7.96)
Median duration [μs] (25-75 percentile) 1585 (1000 - 2256)

Event ID: 8595.241027140601.wav

Time: 2024-10-27 14:06UTC to 2024-10-27 14:12UTC

Event contains 518 original clicks, 259 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 210 clicks) .

Median statistics for 210 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.4
Median 3dB Center Frequency [kHz] 6.58
Median 10dB Center Frequency [kHz] 6.47
Median 3dB Bandwidth [kHz] (lower-upper) 0.941 (6.12 - 7.27)
Median 10dB Bandwidth [kHz] (lower-upper) 2.86 (5.03 - 8.16)
Median duration [μs] (25-75 percentile) 1498 (1033 - 2089)

Event ID: 8595.241027141201.wav

Time: 2024-10-27 14:12UTC to 2024-10-27 14:18UTC

Event contains 478 original clicks, 239 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 205 clicks) .

Median statistics for 205 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.8
Median 3dB Center Frequency [kHz] 6.91
Median 10dB Center Frequency [kHz] 6.8
Median 3dB Bandwidth [kHz] (lower-upper) 0.852 (6.41 - 7.28)
Median 10dB Bandwidth [kHz] (lower-upper) 2.59 (5.25 - 8.15)
Median duration [μs] (25-75 percentile) 2062 (1259 - 2393)

Event ID: 8595.241027141801.wav

Time: 2024-10-27 14:18UTC to 2024-10-27 14:24UTC

Event contains 598 original clicks, 299 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 251 clicks) .

Median statistics for 251 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.2
Median 3dB Center Frequency [kHz] 7.1
Median 10dB Center Frequency [kHz] 7.09
Median 3dB Bandwidth [kHz] (lower-upper) 0.785 (6.68 - 7.41)
Median 10dB Bandwidth [kHz] (lower-upper) 2.43 (5.87 - 8.42)
Median duration [μs] (25-75 percentile) 1919 (1113 - 2299)

Event ID: 8595.241027144201.wav

Time: 2024-10-27 14:42UTC to 2024-10-27 14:48UTC

Event contains 462 original clicks, 231 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 199 clicks) .

Median statistics for 199 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.8
Median 3dB Center Frequency [kHz] 7
Median 10dB Center Frequency [kHz] 6.92
Median 3dB Bandwidth [kHz] (lower-upper) 0.837 (6.57 - 7.45)
Median 10dB Bandwidth [kHz] (lower-upper) 2.09 ( 5.8 - 8.26)
Median duration [μs] (25-75 percentile) 1486 (1000 - 2213)

Event ID: 8595.241027144801.wav

Time: 2024-10-27 14:48UTC to 2024-10-27 14:54UTC

Event contains 992 original clicks, 496 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 417 clicks) .

Median statistics for 417 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.77
Median 10dB Center Frequency [kHz] 7.84
Median 3dB Bandwidth [kHz] (lower-upper) 0.806 (7.36 - 8.18)
Median 10dB Bandwidth [kHz] (lower-upper) 2.4 (6.36 - 9.09)
Median duration [μs] (25-75 percentile) 29 (0 - 1270)

Event ID: 8595.241027145401.wav

Time: 2024-10-27 14:54UTC to 2024-10-27 15:00UTC

Event contains 870 original clicks, 435 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 395 clicks) .

Median statistics for 395 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.6
Median 10dB Center Frequency [kHz] 7.34
Median 3dB Bandwidth [kHz] (lower-upper) 0.884 (7.02 - 8.15)
Median 10dB Bandwidth [kHz] (lower-upper) 2.68 (6.03 - 9.14)
Median duration [μs] (25-75 percentile) 373 (0 - 1513)

Event ID: 8595.241027150001.wav

Time: 2024-10-27 15:00UTC to 2024-10-27 15:06UTC

Event contains 750 original clicks, 375 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 336 clicks) .

Median statistics for 336 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.2
Median 3dB Center Frequency [kHz] 7.06
Median 10dB Center Frequency [kHz] 7.21
Median 3dB Bandwidth [kHz] (lower-upper) 1.01 ( 6.6 - 7.57)
Median 10dB Bandwidth [kHz] (lower-upper) 2.87 (5.73 - 9.12)
Median duration [μs] (25-75 percentile) 16 (0 - 1365)

Event ID: 8595.241027150601.wav

Time: 2024-10-27 15:06UTC to 2024-10-27 15:12UTC

Event contains 694 original clicks, 347 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 311 clicks) .

Median statistics for 311 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.73
Median 10dB Center Frequency [kHz] 7.49
Median 3dB Bandwidth [kHz] (lower-upper) 0.958 (7.07 - 8.22)
Median 10dB Bandwidth [kHz] (lower-upper) 2.9 (5.82 - 9.13)
Median duration [μs] (25-75 percentile) 0 (0 - 1236)

Event ID: 8595.241027151201.wav

Time: 2024-10-27 15:12UTC to 2024-10-27 15:18UTC

Event contains 512 original clicks, 256 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 229 clicks) .

Median statistics for 229 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.77
Median 10dB Center Frequency [kHz] 7.73
Median 3dB Bandwidth [kHz] (lower-upper) 1.19 (7.16 - 8.43)
Median 10dB Bandwidth [kHz] (lower-upper) 3.63 (5.87 - 9.76)
Median duration [μs] (25-75 percentile) 493 (0 - 1285)

Event ID: 8595.241027151801.wav

Time: 2024-10-27 15:18UTC to 2024-10-27 15:24UTC

Event contains 666 original clicks, 333 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 290 clicks) .

Median statistics for 290 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.4
Median 3dB Center Frequency [kHz] 7.15
Median 10dB Center Frequency [kHz] 7.11
Median 3dB Bandwidth [kHz] (lower-upper) 1.1 (6.55 - 7.71)
Median 10dB Bandwidth [kHz] (lower-upper) 3.05 (5.72 - 9)
Median duration [μs] (25-75 percentile) 506 (0 - 1635)

Event ID: 8595.241027152401.wav

Time: 2024-10-27 15:24UTC to 2024-10-27 15:30UTC

Event contains 606 original clicks, 303 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 249 clicks) .

Median statistics for 249 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.87
Median 10dB Center Frequency [kHz] 7.48
Median 3dB Bandwidth [kHz] (lower-upper) 1.21 (7.03 - 8.62)
Median 10dB Bandwidth [kHz] (lower-upper) 3.45 ( 5.4 - 9.83)
Median duration [μs] (25-75 percentile) 373 (0 - 1173)

Event ID: 8595.241027153001.wav

Time: 2024-10-27 15:30UTC to 2024-10-27 15:36UTC

Event contains 576 original clicks, 288 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 238 clicks) .

Median statistics for 238 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.57
Median 10dB Center Frequency [kHz] 7.23
Median 3dB Bandwidth [kHz] (lower-upper) 1.22 (6.79 - 8.45)
Median 10dB Bandwidth [kHz] (lower-upper) 3.73 (5.36 - 9.48)
Median duration [μs] (25-75 percentile) 163 (0 - 1050)

Event ID: 8595.241027153601.wav

Time: 2024-10-27 15:36UTC to 2024-10-27 15:42UTC

Event contains 616 original clicks, 308 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 270 clicks) .

Median statistics for 270 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.7
Median 10dB Center Frequency [kHz] 7.47
Median 3dB Bandwidth [kHz] (lower-upper) 1.12 (7.03 - 8.31)
Median 10dB Bandwidth [kHz] (lower-upper) 3.31 ( 5.6 - 9.52)
Median duration [μs] (25-75 percentile) 180 (0 - 1053)

Event ID: 8595.241027154201.wav

Time: 2024-10-27 15:42UTC to 2024-10-27 15:48UTC

Event contains 746 original clicks, 373 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 318 clicks) .

Median statistics for 318 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 8
Median 3dB Center Frequency [kHz] 7.84
Median 10dB Center Frequency [kHz] 8.04
Median 3dB Bandwidth [kHz] (lower-upper) 1.13 (7.26 - 8.63)
Median 10dB Bandwidth [kHz] (lower-upper) 3.33 (6.12 - 9.71)
Median duration [μs] (25-75 percentile) 138 (0 - 1321)

Event ID: 8595.241027154801.wav

Time: 2024-10-27 15:48UTC to 2024-10-27 15:54UTC

Event contains 730 original clicks, 365 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 337 clicks) .

Median statistics for 337 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 8
Median 3dB Center Frequency [kHz] 7.76
Median 10dB Center Frequency [kHz] 7.82
Median 3dB Bandwidth [kHz] (lower-upper) 1.09 (7.11 - 8.47)
Median 10dB Bandwidth [kHz] (lower-upper) 3.46 (5.88 - 9.85)
Median duration [μs] (25-75 percentile) 164 (0 - 1369)

Event ID: 8595.241027161201.wav

Time: 2024-10-27 16:12UTC to 2024-10-27 16:18UTC

Event contains 1280 original clicks, 640 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 482 clicks) .

Median statistics for 482 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 8
Median 3dB Center Frequency [kHz] 8.3
Median 10dB Center Frequency [kHz] 8.29
Median 3dB Bandwidth [kHz] (lower-upper) 1.13 (7.82 - 8.85)
Median 10dB Bandwidth [kHz] (lower-upper) 3.31 (6.57 - 10)
Median duration [μs] (25-75 percentile) 1172 (0 - 2148)

Event ID: 8595.241027161801.wav

Time: 2024-10-27 16:18UTC to 2024-10-27 16:24UTC

Event contains 1652 original clicks, 826 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 738 clicks) .

Median statistics for 738 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 8.4
Median 3dB Center Frequency [kHz] 8.18
Median 10dB Center Frequency [kHz] 8.15
Median 3dB Bandwidth [kHz] (lower-upper) 1.17 (7.33 - 8.84)
Median 10dB Bandwidth [kHz] (lower-upper) 3.55 (5.72 - 10.3)
Median duration [μs] (25-75 percentile) 781 (0 - 1514)

Event ID: 8595.241027162401.wav

Time: 2024-10-27 16:24UTC to 2024-10-27 16:30UTC

Event contains 1204 original clicks, 602 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 546 clicks) .

Median statistics for 546 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.53
Median 10dB Center Frequency [kHz] 7.58
Median 3dB Bandwidth [kHz] (lower-upper) 0.994 (6.99 - 8.08)
Median 10dB Bandwidth [kHz] (lower-upper) 2.94 (5.73 - 9.48)
Median duration [μs] (25-75 percentile) 0 (0 - 1000)

Event ID: 8595.241027163001.wav

Time: 2024-10-27 16:30UTC to 2024-10-27 16:36UTC

Event contains 1270 original clicks, 635 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 563 clicks) .

Median statistics for 563 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 8
Median 3dB Center Frequency [kHz] 7.6
Median 10dB Center Frequency [kHz] 7.76
Median 3dB Bandwidth [kHz] (lower-upper) 1.08 (6.82 - 8.4)
Median 10dB Bandwidth [kHz] (lower-upper) 2.93 (5.89 - 9.69)
Median duration [μs] (25-75 percentile) 29 (0 - 1144)

Event ID: 8595.241027163601.wav

Time: 2024-10-27 16:36UTC to 2024-10-27 16:42UTC

Event contains 1038 original clicks, 519 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 479 clicks) .

Median statistics for 479 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 8
Median 3dB Center Frequency [kHz] 8.02
Median 10dB Center Frequency [kHz] 8.11
Median 3dB Bandwidth [kHz] (lower-upper) 1.03 ( 7.4 - 8.66)
Median 10dB Bandwidth [kHz] (lower-upper) 3.07 (6.17 - 9.73)
Median duration [μs] (25-75 percentile) 0 (0 - 1000)

Event ID: 8595.241027164201.wav

Time: 2024-10-27 16:42UTC to 2024-10-27 16:48UTC

Event contains 798 original clicks, 399 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 364 clicks) .

Median statistics for 364 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 10
Median 3dB Center Frequency [kHz] 9.92
Median 10dB Center Frequency [kHz] 9.79
Median 3dB Bandwidth [kHz] (lower-upper) 1.09 ( 9.2 - 10.4)
Median 10dB Bandwidth [kHz] (lower-upper) 3.35 (7.49 - 11.4)
Median duration [μs] (25-75 percentile) 0 (0 - 1395)

Event ID: 8595.241027164801.wav

Time: 2024-10-27 16:48UTC to 2024-10-27 16:54UTC

Event contains 1292 original clicks, 646 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 590 clicks) .

Median statistics for 590 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.2
Median 3dB Center Frequency [kHz] 6.71
Median 10dB Center Frequency [kHz] 6.84
Median 3dB Bandwidth [kHz] (lower-upper) 1.06 (6.22 - 7.36)
Median 10dB Bandwidth [kHz] (lower-upper) 3.09 (5.02 - 8.84)
Median duration [μs] (25-75 percentile) 374 (0 - 1355)

Event ID: 8595.241027165401.wav

Time: 2024-10-27 16:54UTC to 2024-10-27 17:00UTC

Event contains 1398 original clicks, 699 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 638 clicks) .

Median statistics for 638 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.8
Median 3dB Center Frequency [kHz] 6.87
Median 10dB Center Frequency [kHz] 6.91
Median 3dB Bandwidth [kHz] (lower-upper) 1.15 (6.01 - 7.67)
Median 10dB Bandwidth [kHz] (lower-upper) 3.48 (4.34 - 9.28)
Median duration [μs] (25-75 percentile) 1045 (0 - 1610)

Event ID: 8595.241027170601.wav

Time: 2024-10-27 17:06UTC to 2024-10-27 17:12UTC

Event contains 1066 original clicks, 533 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 498 clicks) .

Median statistics for 498 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 8.8
Median 3dB Center Frequency [kHz] 8.85
Median 10dB Center Frequency [kHz] 8.75
Median 3dB Bandwidth [kHz] (lower-upper) 1.02 (8.26 - 9.45)
Median 10dB Bandwidth [kHz] (lower-upper) 3.15 (7.16 - 10.5)
Median duration [μs] (25-75 percentile) 0 (0 - 0)

Event ID: 8595.241027173001.wav

Time: 2024-10-27 17:30UTC to 2024-10-27 17:36UTC

Event contains 1468 original clicks, 734 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 530 clicks) .

Median statistics for 530 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 8.2
Median 3dB Center Frequency [kHz] 8.04
Median 10dB Center Frequency [kHz] 8.11
Median 3dB Bandwidth [kHz] (lower-upper) 1.09 (7.43 - 8.7)
Median 10dB Bandwidth [kHz] (lower-upper) 3.42 (6.35 - 10)
Median duration [μs] (25-75 percentile) 1238 (0 - 1950)

Event ID: 8595.241027173601.wav

Time: 2024-10-27 17:36UTC to 2024-10-27 17:42UTC

Event contains 1056 original clicks, 528 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 473 clicks) .

Median statistics for 473 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.2
Median 3dB Center Frequency [kHz] 7.02
Median 10dB Center Frequency [kHz] 7.36
Median 3dB Bandwidth [kHz] (lower-upper) 1.09 (6.37 - 8.05)
Median 10dB Bandwidth [kHz] (lower-upper) 3.24 ( 4.9 - 9.59)
Median duration [μs] (25-75 percentile) 0 (0 - 1389)

Event ID: 8595.241027174201.wav

Time: 2024-10-27 17:42UTC to 2024-10-27 17:48UTC

Event contains 774 original clicks, 387 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 358 clicks) .

Median statistics for 358 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.8
Median 3dB Center Frequency [kHz] 6.54
Median 10dB Center Frequency [kHz] 6.86
Median 3dB Bandwidth [kHz] (lower-upper) 1.16 (5.75 - 7.28)
Median 10dB Bandwidth [kHz] (lower-upper) 3.53 (4.38 - 9.04)
Median duration [μs] (25-75 percentile) 81 (0 - 1644)

Event ID: 8595.241027175401.wav

Time: 2024-10-27 17:54UTC to 2024-10-27 18:00UTC

Event contains 758 original clicks, 379 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 334 clicks) .

Median statistics for 334 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.4
Median 3dB Center Frequency [kHz] 6.59
Median 10dB Center Frequency [kHz] 6.58
Median 3dB Bandwidth [kHz] (lower-upper) 1.08 (6.07 - 7.26)
Median 10dB Bandwidth [kHz] (lower-upper) 3.14 (4.86 - 8.7)
Median duration [μs] (25-75 percentile) 0 (0 - 1341)

Event ID: 8595.241027180001.wav

Time: 2024-10-27 18:00UTC to 2024-10-27 18:06UTC

Event contains 656 original clicks, 328 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 299 clicks) .

Median statistics for 299 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.2
Median 3dB Center Frequency [kHz] 6.9
Median 10dB Center Frequency [kHz] 6.92
Median 3dB Bandwidth [kHz] (lower-upper) 1.12 (6.21 - 7.5)
Median 10dB Bandwidth [kHz] (lower-upper) 3.46 (4.74 - 9.1)
Median duration [μs] (25-75 percentile) 0 (0 - 1000)

Event ID: 8595.241027180601.wav

Time: 2024-10-27 18:06UTC to 2024-10-27 18:12UTC

Event contains 706 original clicks, 353 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 321 clicks) .

Median statistics for 321 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 6.07
Median 10dB Center Frequency [kHz] 6.56
Median 3dB Bandwidth [kHz] (lower-upper) 1.14 (4.98 - 6.96)
Median 10dB Bandwidth [kHz] (lower-upper) 3.61 (3.67 - 8.59)
Median duration [μs] (25-75 percentile) 983 (0 - 1702)

Event ID: 8595.241027185401.wav

Time: 2024-10-27 18:54UTC to 2024-10-27 19:00UTC

Event contains 566 original clicks, 283 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 266 clicks) .

Median statistics for 266 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.4
Median 3dB Center Frequency [kHz] 6.43
Median 10dB Center Frequency [kHz] 6.88
Median 3dB Bandwidth [kHz] (lower-upper) 1.08 (5.84 - 6.99)
Median 10dB Bandwidth [kHz] (lower-upper) 3.33 (4.39 - 9.05)
Median duration [μs] (25-75 percentile) 648 (0 - 1477)

Event ID: 8595.241028062401.wav

Time: 2024-10-28 06:24UTC to 2024-10-28 06:30UTC

Event contains 2746 original clicks, 1373 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 883 clicks) .

Median statistics for 883 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.9
Median 10dB Center Frequency [kHz] 5.85
Median 3dB Bandwidth [kHz] (lower-upper) 1.15 (5.28 - 6.54)
Median 10dB Bandwidth [kHz] (lower-upper) 2.61 (4.53 - 7.14)
Median duration [μs] (25-75 percentile) 263 (100 - 1000)

Event ID: 8595.241028064801.wav

Time: 2024-10-28 06:48UTC to 2024-10-28 06:54UTC

Event contains 980 original clicks, 490 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 251 clicks) .

Median statistics for 251 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.82
Median 10dB Center Frequency [kHz] 5.84
Median 3dB Bandwidth [kHz] (lower-upper) 1.13 (5.21 - 6.42)
Median 10dB Bandwidth [kHz] (lower-upper) 2.64 (4.54 - 7.2)
Median duration [μs] (25-75 percentile) 55 (3 - 188)

Event ID: 8595.241028083001.wav

Time: 2024-10-28 08:30UTC to 2024-10-28 08:36UTC

Event contains 864 original clicks, 432 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 251 clicks) .

Median statistics for 251 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.88
Median 10dB Center Frequency [kHz] 5.85
Median 3dB Bandwidth [kHz] (lower-upper) 0.996 (5.34 - 6.42)
Median 10dB Bandwidth [kHz] (lower-upper) 2.43 (4.58 - 7.05)
Median duration [μs] (25-75 percentile) 0 (0 - 100)

Event ID: 8595.241028092401.wav

Time: 2024-10-28 09:24UTC to 2024-10-28 09:30UTC

Event contains 1448 original clicks, 724 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 433 clicks) .

Median statistics for 433 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.99
Median 10dB Center Frequency [kHz] 5.91
Median 3dB Bandwidth [kHz] (lower-upper) 1.05 (5.45 - 6.53)
Median 10dB Bandwidth [kHz] (lower-upper) 2.41 (4.61 - 7.08)
Median duration [μs] (25-75 percentile) 258 (100 - 1000)

Event ID: 8595.241028093001.wav

Time: 2024-10-28 09:30UTC to 2024-10-28 09:36UTC

Event contains 550 original clicks, 275 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 136 clicks) .

Median statistics for 136 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.99
Median 10dB Center Frequency [kHz] 6
Median 3dB Bandwidth [kHz] (lower-upper) 1.02 ( 5.4 - 6.56)
Median 10dB Bandwidth [kHz] (lower-upper) 2.48 (4.64 - 7.23)
Median duration [μs] (25-75 percentile) 77 (15 - 222)

Event ID: 8595.241028093601.wav

Time: 2024-10-28 09:36UTC to 2024-10-28 09:42UTC

Event contains 1068 original clicks, 534 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 249 clicks) .

Median statistics for 249 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.9
Median 10dB Center Frequency [kHz] 5.84
Median 3dB Bandwidth [kHz] (lower-upper) 1.01 (5.32 - 6.45)
Median 10dB Bandwidth [kHz] (lower-upper) 2.56 (4.53 - 7.14)
Median duration [μs] (25-75 percentile) 55 (0 - 206)

Event ID: 8595.241028140601.wav

Time: 2024-10-28 14:06UTC to 2024-10-28 14:12UTC

Event contains 3746 original clicks, 1873 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 811 clicks) .

Median statistics for 811 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.61
Median 10dB Center Frequency [kHz] 6.21
Median 3dB Bandwidth [kHz] (lower-upper) 1.12 (4.85 - 6.28)
Median 10dB Bandwidth [kHz] (lower-upper) 4.2 (3.57 - 8.59)
Median duration [μs] (25-75 percentile) 36 (16 - 387)

Event ID: 8595.241104111803.wav

Time: 2024-11-04 11:18UTC to 2024-11-04 11:24UTC

Event contains 616 original clicks, 308 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 165 clicks) .

Median statistics for 165 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.83
Median 10dB Center Frequency [kHz] 5.78
Median 3dB Bandwidth [kHz] (lower-upper) 1.08 (5.14 - 6.45)
Median 10dB Bandwidth [kHz] (lower-upper) 2.6 (4.44 - 7.1)
Median duration [μs] (25-75 percentile) 117 (26 - 388)

Event ID: 8595.241104113603.wav

Time: 2024-11-04 11:36UTC to 2024-11-04 11:42UTC

Event contains 636 original clicks, 318 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 162 clicks) .

Median statistics for 162 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.94
Median 10dB Center Frequency [kHz] 5.92
Median 3dB Bandwidth [kHz] (lower-upper) 1.08 (5.39 - 6.52)
Median 10dB Bandwidth [kHz] (lower-upper) 2.57 (4.58 - 7.16)
Median duration [μs] (25-75 percentile) 166 (47 - 244)

Event ID: 8595.241104114203.wav

Time: 2024-11-04 11:42UTC to 2024-11-04 11:48UTC

Event contains 1098 original clicks, 549 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 327 clicks) .

Median statistics for 327 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.86
Median 10dB Center Frequency [kHz] 5.86
Median 3dB Bandwidth [kHz] (lower-upper) 1.11 ( 5.2 - 6.46)
Median 10dB Bandwidth [kHz] (lower-upper) 2.58 (4.48 - 7.13)
Median duration [μs] (25-75 percentile) 203 (31 - 434)

Event ID: 8595.241104114803.wav

Time: 2024-11-04 11:48UTC to 2024-11-04 11:54UTC

Event contains 636 original clicks, 318 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 188 clicks) .

Median statistics for 188 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.88
Median 10dB Center Frequency [kHz] 5.86
Median 3dB Bandwidth [kHz] (lower-upper) 1.15 (5.23 - 6.46)
Median 10dB Bandwidth [kHz] (lower-upper) 2.51 (4.64 - 7.11)
Median duration [μs] (25-75 percentile) 94 (23 - 180)

Event ID: 8595.241105004803.wav

Time: 2024-11-05 00:48UTC to 2024-11-05 00:54UTC

Event contains 422 original clicks, 211 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 51 clicks) .

Median statistics for 51 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 10
Median 3dB Center Frequency [kHz] 9.37
Median 10dB Center Frequency [kHz] 9.38
Median 3dB Bandwidth [kHz] (lower-upper) 0.615 (9.06 - 9.7)
Median 10dB Bandwidth [kHz] (lower-upper) 2.01 (8.76 - 10.5)
Median duration [μs] (25-75 percentile) 50 (25 - 107)

Event ID: 8595.241105100603.wav

Time: 2024-11-05 10:06UTC to 2024-11-05 10:12UTC

Event contains 412 original clicks, 206 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 131 clicks) .

Median statistics for 131 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.85
Median 10dB Center Frequency [kHz] 5.85
Median 3dB Bandwidth [kHz] (lower-upper) 1.15 (5.17 - 6.51)
Median 10dB Bandwidth [kHz] (lower-upper) 2.72 (4.48 - 7.22)
Median duration [μs] (25-75 percentile) 255 (100 - 1000)

Event ID: 8595.241106034803.wav

Time: 2024-11-06 03:48UTC to 2024-11-06 03:54UTC

Event contains 510 original clicks, 255 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 109 clicks) .

Median statistics for 109 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 6.18
Median 10dB Center Frequency [kHz] 6.16
Median 3dB Bandwidth [kHz] (lower-upper) 1.08 (5.48 - 6.8)
Median 10dB Bandwidth [kHz] (lower-upper) 2.88 (4.64 - 7.54)
Median duration [μs] (25-75 percentile) 167 (100 - 248)

Event ID: 8595.241106041203.wav

Time: 2024-11-06 04:12UTC to 2024-11-06 04:18UTC

Event contains 520 original clicks, 260 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 99 clicks) .

Median statistics for 99 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.96
Median 10dB Center Frequency [kHz] 5.92
Median 3dB Bandwidth [kHz] (lower-upper) 1.07 (5.37 - 6.53)
Median 10dB Bandwidth [kHz] (lower-upper) 2.72 (4.58 - 7.2)
Median duration [μs] (25-75 percentile) 96 (27 - 231)

Event ID: 8595.241106212403.wav

Time: 2024-11-06 21:24UTC to 2024-11-06 21:30UTC

Event contains 860 original clicks, 430 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 338 clicks) .

Median statistics for 338 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.8
Median 3dB Center Frequency [kHz] 6.26
Median 10dB Center Frequency [kHz] 6.79
Median 3dB Bandwidth [kHz] (lower-upper) 1.29 (5.68 - 6.95)
Median 10dB Bandwidth [kHz] (lower-upper) 3.75 (3.95 - 9.14)
Median duration [μs] (25-75 percentile) 117 (0 - 403)

Event ID: 8595.241106213003.wav

Time: 2024-11-06 21:30UTC to 2024-11-06 21:36UTC

Event contains 640 original clicks, 320 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 256 clicks) .

Median statistics for 256 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.6
Median 3dB Center Frequency [kHz] 6.46
Median 10dB Center Frequency [kHz] 6.63
Median 3dB Bandwidth [kHz] (lower-upper) 1.12 ( 5.9 - 7.02)
Median 10dB Bandwidth [kHz] (lower-upper) 3.28 (4.63 - 8.45)
Median duration [μs] (25-75 percentile) 0 (0 - 189)

Event ID: 8595.241106215403.wav

Time: 2024-11-06 21:54UTC to 2024-11-06 22:00UTC

Event contains 496 original clicks, 248 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 185 clicks) .

Median statistics for 185 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.61
Median 10dB Center Frequency [kHz] 7.6
Median 3dB Bandwidth [kHz] (lower-upper) 0.959 (7.05 - 8.17)
Median 10dB Bandwidth [kHz] (lower-upper) 3.3 (5.74 - 9.34)
Median duration [μs] (25-75 percentile) 0 (0 - 0)

Event ID: 8595.241106220003.wav

Time: 2024-11-06 22:00UTC to 2024-11-06 22:06UTC

Event contains 708 original clicks, 354 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 250 clicks) .

Median statistics for 250 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.8
Median 3dB Center Frequency [kHz] 6.68
Median 10dB Center Frequency [kHz] 6.88
Median 3dB Bandwidth [kHz] (lower-upper) 1.17 (6.06 - 7.15)
Median 10dB Bandwidth [kHz] (lower-upper) 3.7 (4.64 - 8.97)
Median duration [μs] (25-75 percentile) 0 (0 - 0)

Event ID: 8595.241106220603.wav

Time: 2024-11-06 22:06UTC to 2024-11-06 22:12UTC

Event contains 1332 original clicks, 666 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 532 clicks) .

Median statistics for 532 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.4
Median 3dB Center Frequency [kHz] 6.27
Median 10dB Center Frequency [kHz] 6.71
Median 3dB Bandwidth [kHz] (lower-upper) 1.38 (5.39 - 7.19)
Median 10dB Bandwidth [kHz] (lower-upper) 4.55 (3.61 - 9.4)
Median duration [μs] (25-75 percentile) 38 (0 - 413)

Event ID: 8595.241106221203.wav

Time: 2024-11-06 22:12UTC to 2024-11-06 22:18UTC

Event contains 858 original clicks, 429 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 295 clicks) .

Median statistics for 295 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.86
Median 10dB Center Frequency [kHz] 6.32
Median 3dB Bandwidth [kHz] (lower-upper) 1.34 (5.09 - 6.85)
Median 10dB Bandwidth [kHz] (lower-upper) 4.62 (3.63 - 8.71)
Median duration [μs] (25-75 percentile) 0 (0 - 100)

Event ID: 8595.241106221803.wav

Time: 2024-11-06 22:18UTC to 2024-11-06 22:24UTC

Event contains 812 original clicks, 406 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 310 clicks) .

Median statistics for 310 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.4
Median 3dB Center Frequency [kHz] 6.14
Median 10dB Center Frequency [kHz] 6.57
Median 3dB Bandwidth [kHz] (lower-upper) 1.33 (5.37 - 6.81)
Median 10dB Bandwidth [kHz] (lower-upper) 4.28 (4.07 - 8.9)
Median duration [μs] (25-75 percentile) 0 (0 - 116)

Event ID: 8595.241106222403.wav

Time: 2024-11-06 22:24UTC to 2024-11-06 22:30UTC

Event contains 918 original clicks, 459 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 314 clicks) .

Median statistics for 314 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.4
Median 3dB Center Frequency [kHz] 6.15
Median 10dB Center Frequency [kHz] 6.39
Median 3dB Bandwidth [kHz] (lower-upper) 1.38 (5.29 - 6.92)
Median 10dB Bandwidth [kHz] (lower-upper) 4.16 (3.86 - 8.56)
Median duration [μs] (25-75 percentile) 0 (0 - 100)

Event ID: 8595.241106223003.wav

Time: 2024-11-06 22:30UTC to 2024-11-06 22:36UTC

Event contains 1110 original clicks, 555 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 397 clicks) .

Median statistics for 397 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.23
Median 10dB Center Frequency [kHz] 7.6
Median 3dB Bandwidth [kHz] (lower-upper) 1.34 ( 6.5 - 7.94)
Median 10dB Bandwidth [kHz] (lower-upper) 4.41 (4.77 - 10.3)
Median duration [μs] (25-75 percentile) 0 (0 - 100)

Event ID: 8595.241106223603.wav

Time: 2024-11-06 22:36UTC to 2024-11-06 22:42UTC

Event contains 1380 original clicks, 690 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 539 clicks) .

Median statistics for 539 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.2
Median 3dB Center Frequency [kHz] 7.05
Median 10dB Center Frequency [kHz] 7.63
Median 3dB Bandwidth [kHz] (lower-upper) 1.2 ( 6.3 - 7.97)
Median 10dB Bandwidth [kHz] (lower-upper) 4.06 (4.68 - 10.1)
Median duration [μs] (25-75 percentile) 5.2 (0 - 305)

Event ID: 8595.241106224203.wav

Time: 2024-11-06 22:42UTC to 2024-11-06 22:48UTC

Event contains 1176 original clicks, 588 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 446 clicks) .

Median statistics for 446 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.8
Median 3dB Center Frequency [kHz] 6.82
Median 10dB Center Frequency [kHz] 7.38
Median 3dB Bandwidth [kHz] (lower-upper) 1.56 (5.79 - 7.7)
Median 10dB Bandwidth [kHz] (lower-upper) 4.99 (3.92 - 10.3)
Median duration [μs] (25-75 percentile) 17 (0 - 162)

Event ID: 8595.241106224803.wav

Time: 2024-11-06 22:48UTC to 2024-11-06 22:54UTC

Event contains 484 original clicks, 242 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 154 clicks) .

Median statistics for 154 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.8
Median 3dB Center Frequency [kHz] 6.31
Median 10dB Center Frequency [kHz] 6.89
Median 3dB Bandwidth [kHz] (lower-upper) 1.52 (5.45 - 7.32)
Median 10dB Bandwidth [kHz] (lower-upper) 5.44 (3.46 - 9.74)
Median duration [μs] (25-75 percentile) 0 (0 - 31)

Event ID: 8595.241106231203.wav

Time: 2024-11-06 23:12UTC to 2024-11-06 23:18UTC

Event contains 652 original clicks, 326 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 314 clicks) .

Median statistics for 314 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 8.4
Median 3dB Center Frequency [kHz] 8.59
Median 10dB Center Frequency [kHz] 8.28
Median 3dB Bandwidth [kHz] (lower-upper) 1.7 (7.58 - 9.55)
Median 10dB Bandwidth [kHz] (lower-upper) 4.87 (5.32 - 11.2)
Median duration [μs] (25-75 percentile) 146 (3 - 334)

Event ID: 8595.241106231803.wav

Time: 2024-11-06 23:18UTC to 2024-11-06 23:24UTC

Event contains 1286 original clicks, 643 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 586 clicks) .

Median statistics for 586 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 8.8
Median 3dB Center Frequency [kHz] 8.69
Median 10dB Center Frequency [kHz] 8.49
Median 3dB Bandwidth [kHz] (lower-upper) 1.58 (7.76 - 9.5)
Median 10dB Bandwidth [kHz] (lower-upper) 5.12 (5.66 - 11.4)
Median duration [μs] (25-75 percentile) 102 (0 - 401)

Event ID: 8595.241106232403.wav

Time: 2024-11-06 23:24UTC to 2024-11-06 23:30UTC

Event contains 1344 original clicks, 672 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 546 clicks) .

Median statistics for 546 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.14
Median 10dB Center Frequency [kHz] 7.84
Median 3dB Bandwidth [kHz] (lower-upper) 1.66 (6.07 - 8.13)
Median 10dB Bandwidth [kHz] (lower-upper) 4.93 (3.93 - 10.7)
Median duration [μs] (25-75 percentile) 81 (0 - 330)

Event ID: 8595.241106233003.wav

Time: 2024-11-06 23:30UTC to 2024-11-06 23:36UTC

Event contains 1284 original clicks, 642 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 508 clicks) .

Median statistics for 508 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.8
Median 3dB Center Frequency [kHz] 6.53
Median 10dB Center Frequency [kHz] 7.19
Median 3dB Bandwidth [kHz] (lower-upper) 1.49 (5.55 - 7.38)
Median 10dB Bandwidth [kHz] (lower-upper) 4.96 ( 3.9 - 9.78)
Median duration [μs] (25-75 percentile) 16 (0 - 109)

Event ID: 8595.241106233603.wav

Time: 2024-11-06 23:36UTC to 2024-11-06 23:42UTC

Event contains 960 original clicks, 480 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 352 clicks) .

Median statistics for 352 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.8
Median 3dB Center Frequency [kHz] 6.41
Median 10dB Center Frequency [kHz] 7.22
Median 3dB Bandwidth [kHz] (lower-upper) 1.47 (5.36 - 7.67)
Median 10dB Bandwidth [kHz] (lower-upper) 5.35 (3.96 - 10.2)
Median duration [μs] (25-75 percentile) 16 (0 - 104)

Event ID: 8595.241106234203.wav

Time: 2024-11-06 23:42UTC to 2024-11-06 23:48UTC

Event contains 1202 original clicks, 601 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 434 clicks) .

Median statistics for 434 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.2
Median 3dB Center Frequency [kHz] 6.79
Median 10dB Center Frequency [kHz] 7.16
Median 3dB Bandwidth [kHz] (lower-upper) 1.65 (5.63 - 7.73)
Median 10dB Bandwidth [kHz] (lower-upper) 5.25 ( 3.8 - 10.1)
Median duration [μs] (25-75 percentile) 13 (0 - 164)

Event ID: 8595.241106234803.wav

Time: 2024-11-06 23:48UTC to 2024-11-06 23:54UTC

Event contains 1268 original clicks, 634 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 490 clicks) .

Median statistics for 490 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.2
Median 3dB Center Frequency [kHz] 6.92
Median 10dB Center Frequency [kHz] 7.58
Median 3dB Bandwidth [kHz] (lower-upper) 1.58 (6.04 - 7.58)
Median 10dB Bandwidth [kHz] (lower-upper) 5.09 (3.83 - 10.4)
Median duration [μs] (25-75 percentile) 51 (0 - 213)

Event ID: 8595.241107003603.wav

Time: 2024-11-07 00:36UTC to 2024-11-07 00:42UTC

Event contains 466 original clicks, 233 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 162 clicks) .

Median statistics for 162 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6.4
Median 3dB Center Frequency [kHz] 6.3
Median 10dB Center Frequency [kHz] 6.6
Median 3dB Bandwidth [kHz] (lower-upper) 1.01 (5.82 - 6.93)
Median 10dB Bandwidth [kHz] (lower-upper) 3.07 (4.78 - 8.32)
Median duration [μs] (25-75 percentile) 0 (0 - 0)

Event ID: 8595.241107100223.wav

Time: 2024-11-07 10:02UTC to 2024-11-07 10:08UTC

Event contains 476 original clicks, 238 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 208 clicks) .

Median statistics for 208 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 13.6
Median 3dB Center Frequency [kHz] 13.8
Median 10dB Center Frequency [kHz] 13.7
Median 3dB Bandwidth [kHz] (lower-upper) 1.86 (11.9 - 15.5)
Median 10dB Bandwidth [kHz] (lower-upper) 7.96 (7.96 - 18.5)
Median duration [μs] (25-75 percentile) 206 (100 - 377)

Event ID: 8595.241107143823.wav

Time: 2024-11-07 14:38UTC to 2024-11-07 14:44UTC

Event contains 5336 original clicks, 2668 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 1327 clicks) .

Median statistics for 1327 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 7.6
Median 3dB Center Frequency [kHz] 7.08
Median 10dB Center Frequency [kHz] 7.55
Median 3dB Bandwidth [kHz] (lower-upper) 1.23 (6.24 - 7.78)
Median 10dB Bandwidth [kHz] (lower-upper) 4.41 (4.82 - 9.96)
Median duration [μs] (25-75 percentile) 428 (100 - 1034)

Event ID: 8595.241107144423.wav

Time: 2024-11-07 14:44UTC to 2024-11-07 14:50UTC

Event contains 4596 original clicks, 2298 valid clicks after filtering.

Click plots and table

SNR histogram includes all filtered clicks. Other plots contain only clicks with SNR >= 15 dB (n = 1095 clicks) .

Median statistics for 1095 high SNR clicks with SNR >= 15 dB.
parameter value
Median Peak Frequency [kHz] 6
Median 3dB Center Frequency [kHz] 5.68
Median 10dB Center Frequency [kHz] 6.24
Median 3dB Bandwidth [kHz] (lower-upper) 1.24 (4.94 - 6.44)
Median 10dB Bandwidth [kHz] (lower-upper) 4.54 (3.54 - 8.6)
Median duration [μs] (25-75 percentile) 112 (17 - 1000)

Clean up Event Table

# clean up the event table
evTable <- evTable[evTable$keep == TRUE,]
evTable <- subset(evTable, select = -keep)
# save event table as CSV
write.csv(evTable, file = file.path(params$path_dets, 
                                    paste0('eventTable_', params$mission, '_', 
                                           params$drift, '_', Sys.Date(),'.csv')))

#dbDisconnect(dbFile)

After additional filtering based on median peak frequency, 75 events events of 2615 original events remain.